package com.manager.mapper;

import com.manager.entity.Carousels;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CarouselsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Carousels record);

    int insertSelective(Carousels record);

    Carousels selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Carousels record);

    int updateByPrimaryKey(Carousels record);

    List<Carousels> selectCarousels();
}
